'use strict';

angular.module('myApp.competition_old', [])

.controller('competition_oldCtrl', ['$scope','$http', 
    function($scope,$http,$location) {
	$http.get('v1/competition_history').success(function(data){
		$scope.competitions = data.result['data'];
        console.log(data);
	});

}]);